package com.gs.gms.util;

/**
 * @author sabuj.das
 *
 */
public class ReflectionUtil {

	
	public static boolean isNumberType(Class clazz) {
		if (clazz == null)
			return false;
		if (clazz.getCanonicalName().equals(Integer.class.getCanonicalName())
				|| clazz.getCanonicalName().equals(
						Float.class.getCanonicalName())
				|| clazz.getCanonicalName().equals(
						Double.class.getCanonicalName())
				|| clazz.getCanonicalName().equals(
						Long.class.getCanonicalName()))
			return true;
		return false;
	}
}
